/**
 * 
 */
package com.sxran.im.bean;

import com.sxran.im.info.SuperInfo;

/**
 * 功能说明: 登陆命令请求包体
 */
public class LoginReqBody extends SuperInfo {
	
	private static final long serialVersionUID = -10113316720288444L;
	/**
	 * 用户Id
	 */
	private String userId;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 登陆token
	 */
	private String token;

	public LoginReqBody(){}
	
	public LoginReqBody(String token){
		this.token = token;
	}

	public LoginReqBody(String userId, String password){
		this.userId = userId;
		this.password = password;
	}

	public LoginReqBody(String userId, String password, String token){
		this(userId,password);
		this.token = token;
	}

	public LoginReqBody(String userId, String password, String token, String tenant) {
		this(userId,password,token);
		this.tenant = tenant;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

}
